const orgUnitsDynamicColumn = {
  createTime: {
    show: true,
    name: '注册时间'
  },
  address: {
    show: true,
    name: '地址'
  },
  operation: {
    show: true,
    name: '操作'
  }
}
const userDynamicColumn = {
  registerTime: {
    show: true,
    name: '注册时间'
  },
  operation: {
    show: true,
    name: '操作'
  }
}

const appPackage = {
  packageType: {
    key: 'packageType',
    show: true,
    name: '程序类型'
  },
  productType: {
    key: 'productType',
    show: true,
    name: '产品类别'
  },
  url: {
    key: 'url',
    show: true,
    name: '程序包地址'
  }
}

const privacy = {
  productType: {
    key: 'productType',
    show: true,
    name: '产品类别'
  },
  url: {
    key: 'url',
    show: true,
    name: '文件地址'
  }
}

const roomsDynamicColumn = {
  operation: {
    show: true,
    name: '操作'
  }
}

const devicesDynamicColumn = {
  operation: {
    show: true,
    name: '操作'
  }
}

const moviesDynamicColumn = {
  tag: {
    show: true,
    name: '标签'
  },
  duration: {
    show: true,
    name: '时长'
  },
  playTimes: {
    show: true,
    name: '开本次数'
  },
  movieLevelName: {
    show: true,
    name: '类别'
  },
  operation: {
    show: true,
    name: '操作'
  }
}

const playRecordsDynamicColumn = {
  movieName: {
    show: true,
    name: '剧本名称'
  },
  movieVersion: {
    show: true,
    name: '版本'
  },
  roomName: {
    show: true,
    name: '房间'
  },
  orgUnitName: {
    show: true,
    name: '店铺'
  },
  status: {
    show: true,
    name: '状态'
  },
  startTime: {
    show: true,
    name: '开始时间'
  },
  endTime: {
    show: true,
    name: '结束时间'
  },
  terminator: {
    show: true,
    name: '结束者'
  },
  cost: {
    show: true,
    name: '金额'
  }
}

const chargeRecordsColumn = {
  roomName: {
    show: true,
    name: '房间'
  },
  orgUnitName: {
    show: true,
    name: '店铺'
  },
  status: {
    show: true,
    name: '状态'
  },
  payType: {
    show: true,
    name: '充值方式'
  },
  amount: {
    show: true,
    name: '金额'
  },
  prepareDate: {
    show: true,
    name: '开始时间'
  },
  endTime: {
    show: true,
    name: '结束时间'
  }
}

const shopMoviesDynamicColumn = {
  tag: {
    show: true,
    name: '标签'
  },
  duration: {
    show: true,
    name: '时长'
  },
  playTimes: {
    show: true,
    name: '开本次数'
  },
  movieLevelName: {
    show: true,
    name: '类别'
  },
  operation: {
    show: true,
    name: '操作'
  }
}

const carpoolsDynamicColumn = {
  movieName: {
    show: true,
    name: '剧本名称'
  },
  tag: {
    show: true,
    name: '剧本标签'
  },
  status: {
    show: true,
    name: '状态'
  },
  playerCount: {
    show: true,
    name: '玩家数量'
  },
  beginTime: {
    show: true,
    name: '发车时间'
  },
  beginnerId: {
    show: true,
    name: '发车人'
  },
  terminateTime: {
    show: true,
    name: '结束时间'
  },
  terminatorId: {
    show: true,
    name: '结束人'
  },
  confirmTime: {
    show: true,
    name: '确认时间'
  },
  confirmorId: {
    show: true,
    name: '确认人'
  },
  operation: {
    show: true,
    name: '操作'
  }
}
const couponUseRecordsDynamicColumn = {
  orgUnitName: {
    show: true,
    name: '使用店铺'
  },
  carpoolTitle: {
    show: true,
    name: '拼车标题'
  },
  carpoolMoveName: {
    show: true,
    name: '剧本名称'
  },
  carpoolStartTime: {
    show: true,
    name: '预约时间'
  },
  time: {
    show: true,
    name: '优惠卷使用时间'
  },
  couponUserPhoneNumber: {
    show: true,
    name: '优惠卷使用者手机号'
  }
}
const state = {
  orgUnits: orgUnitsDynamicColumn,
  user: userDynamicColumn,
  appPackage: appPackage,
  privacy: privacy,
  rooms: roomsDynamicColumn,
  devices: devicesDynamicColumn,
  movies: moviesDynamicColumn,
  playRecords: playRecordsDynamicColumn,
  chargeRecords: chargeRecordsColumn,
  shopMovies: shopMoviesDynamicColumn,
  carpools: carpoolsDynamicColumn,
  couponUseRecords: couponUseRecordsDynamicColumn
}

export default {
  namespaced: true,
  state
}
